#pragma once
#include <winsock2.h>
#include <ws2tcpip.h>
#include<stdio.h>
#include<stdlib.h>
#include<vector>
using std::vector;

static const char* serverPort="8989";

class ServerSocket
{
public:
	ServerSocket(void);
	virtual ~ServerSocket(void);
	inline SOCKET getListenSocket(){return ListenSocket; }
	int init();
	SOCKET acceptClient();
private:
	SOCKET ListenSocket;
	vector<SOCKET> clientSocks;
};

